Interview Questions and Answer
Options:
a. Only one ng-app directive, and 'N' number of ng-controller directives can be used in a HTML document.
b. Only one ng-app directive, and only one ng-controller directives can be used in a HTML document.
c. N' number of ng-app directives, and only one ng-controller directives can be used in a HTML document.
d. 'N' number of ng-app directives and 'N' number of ng-controller directives can be used in an HTML document.
Reveal Answer
Options:
a. Initializes the angular app data.
b. Bind the HTML elements like input, span,
c. Initializes the angular app.
d. All the above
Reveal Answer
Options:
a. ng-model
b. x-ng-model
c. ng.model
d. ng:model
Reveal Answer
Options:
a. ng-model
b. ng-bind
c. ng-init
d. ng-app
Reveal Answer
Options:
a. ng-required
b. ng-minlength
c. ng-pattern
d. All of the above
Reveal Answer
Options:
a. In shared scopes, scopes are same for controller and directive.
b. In Inherited scopes, scopes will be independent for controller and directive.
c. In Isolated scope directives will have complete controll on its content.
d. Inherited scopes inherits the scope of the controller.
Reveal Answer
Bestdotnet google plus